package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.AdChannelDto;
import com.heima.model.admin.pojos.AdChannel;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.pojos.WmChannel;

import java.util.List;


public interface WmChannelService extends IService<WmChannel> {

    ResponseResult deleteChannelById(Integer id);

    ResponseResult findChannelsByName(AdChannelDto dto);

    ResponseResult saveChannel(AdChannel adChannel);

    ResponseResult updateChannelById(AdChannel adChannel);

    ResponseResult findChannels();
}
